package ru.urfc.portal.model;

import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

//TODO remove it?
@XmlRootElement
public class Message extends SpectrObject{	
	public String subject;
	public String message;
	public String outgoingNumber;
	public Date outgoingDate;
	public String incomingNumber;
	public Date incomingDate;

	public Message() {
	}
	
	public Message(Long id, String subject, String message,
			String outgoingNumber, Date outgoingDate, String incomingNumber,
			Date incomingDate) {
		super(id);
		this.subject = subject;
		this.message = message;
		this.outgoingNumber = outgoingNumber;
		this.outgoingDate = outgoingDate;
		this.incomingNumber = incomingNumber;
		this.incomingDate = incomingDate;
	}

}
